package io.gitee.zhangbinhub.admin.oauth.po

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.noear.solon.validation.annotation.NotBlank

@ApiModel("更新当前用户信息参数")
data class UserInfoPo(
    @ApiModelProperty(name = "名称", required = true)
    @field:NotBlank(message = "名称不能为空")
    var name: String? = null,
    @ApiModelProperty(name = "手机号")
    var mobile: String? = null,
    @ApiModelProperty(name = "头像图片base64数据")
    var avatar: String? = null,
    @ApiModelProperty(name = "原密码")
    var oldPassword: String? = null,
    @ApiModelProperty(name = "新密码")
    var password: String? = null
)
